projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9997dc1
)
(decode_options): Fix last change so as not to override an explicit -display.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Fri, 8 Feb 2008 15:28:04 +0000
(15:28 +0000)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Fri, 8 Feb 2008 15:28:04 +0000
(15:28 +0000)
lib-src/emacsclient.c
patch
|
blob
|
history
diff --git
a/lib-src/emacsclient.c
b/lib-src/emacsclient.c
index cfa5fa0037002cd677d6c4c8b6f7d68b901e5b30..a39376be3fbded8ba81657df56ac89d21c4188d3 100644
(file)
--- a/
lib-src/emacsclient.c
+++ b/
lib-src/emacsclient.c
@@
-565,7
+565,7
@@
decode_options (argc, argv)
-c still implicitly passes --display $DISPLAY unless -t was specified
so as to try and mimick the behavior of `emacs' which either uses
the current tty or the current $DISPLAY. */
- if (!current_frame && !tty)
+ if (!current_frame && !tty
&& !display
)
display = egetenv ("DISPLAY");
if (display && strlen (display) == 0)